]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Try to center the calendar arrow on the grid
authorSardem FF7 <sardemff7.pub@gmail.com>
Wed, 9 Feb 2011 17:27:42 +0000 (18:27 +0100)
committerDan Winship <danw@gnome.org>
Wed, 16 Feb 2011 15:19:43 +0000 (10:19 -0500)
Using the fixed percentage aligment, try to align the arrow of calendar
boxpointer on the center of the calendar grid

https://bugzilla.gnome.org/show_bug.cgi?id=642031

js/ui/dateMenu.js

index e37b4afef670f72c44d0fc0524c03c6d141642cb..dc2be15fe7ec51a32c3fc1ec57cf3d543278e730 100644 (file)
@@ -56,7 +56,7 @@ DateMenuButton.prototype = {
         //this._eventSource = new Calendar.FakeEventSource();
         this._eventSource = new Calendar.EvolutionEventSource();
 
-        PanelMenu.Button.prototype._init.call(this, 0.0);
+        PanelMenu.Button.prototype._init.call(this, 0.25);
 
         this._clock = new St.Label();
         this.actor.set_child(this._clock);